#############################################################################
# Makefile for building: ../../bin/multi
# Generated by qmake (1.07a) (Qt 3.3.7) on: Sat Jan 20 01:28:11 2007
# Project:  multi.pro
# Template: app
# Command: $(QMAKE) -o Makefile multi.pro
#############################################################################

####### Compiler, tools and options

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -g  
CXXFLAGS = -mtune=pentium4 -march=pentium4 -msse2 -msse -g  
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/usr/share/qt3/mkspecs/default -I. -I../../include
LINK     = g++
LFLAGS   = 
LIBS     = $(SUBLIBS)  -L/usr/local/src/debian/artoolkitplus-2.1.1/lib -L/usr/local/src/debian/artoolkitplus-2.1.1/lib -lARToolKitPlus
AR       = ar cqs
RANLIB   = 
MOC      = /usr/share/qt3/bin/moc
UIC      = /usr/share/qt3/bin/uic
QMAKE    = qmake
TAR      = tar -cf
GZIP     = gzip -9f
COPY     = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK  = ln -sf
DEL_DIR  = rmdir
MOVE     = mv -f
CHK_DIR_EXISTS= test -d
MKDIR    = mkdir -p

####### Output directory

OBJECTS_DIR = build/linux/debug/

####### Files

HEADERS = 
SOURCES = src/main.cpp
OBJECTS = build/linux/debug/main.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = 
OBJMOC = 
DIST	   = ../../build/linux/options.pro \
		multi.pro
QMAKE_TARGET = multi
DESTDIR  = ../../bin/
TARGET   = ../../bin/multi

first: all
####### Implicit rules

.SUFFIXES: .c .o .cpp .cc .cxx .C

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

####### Build rules

all: Makefile $(TARGET)

$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC)  
	test -d ../../bin/ || mkdir -p ../../bin/
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)

mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)

$(MOC): 
	( cd $(QTDIR)/src/moc && $(MAKE) )

Makefile: multi.pro  /usr/share/qt3/mkspecs/default/qmake.conf ../../build/linux/options.pro
	$(QMAKE) -o Makefile multi.pro
qmake: 
	@$(QMAKE) -o Makefile multi.pro

dist: 
	@mkdir -p build/linux/debug/multi && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) build/linux/debug/multi/ && ( cd `dirname build/linux/debug/multi` && $(TAR) multi.tar multi && $(GZIP) multi.tar ) && $(MOVE) `dirname build/linux/debug/multi`/multi.tar.gz . && $(DEL_FILE) -r build/linux/debug/multi

mocclean:
uiclean:

yaccclean:
lexclean:
clean:
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) /usr/local/src/debian/artoolkitplus-2.1.1/bin/multi
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) ../../bin/$(TARGET) $(TARGET)


FORCE:

####### Compile

build/linux/debug/main.o: src/main.cpp ../../include/ARToolKitPlus/TrackerMultiMarkerImpl.h \
		../../include/ARToolKitPlus/TrackerMultiMarker.h \
		../../include/ARToolKitPlus/TrackerImpl.h \
		../../include/ARToolKitPlus/Logger.h \
		../../src/TrackerMultiMarkerImpl.cxx \
		../../include/ARToolKitPlus/Tracker.h \
		../../include/ARToolKitPlus/ARToolKitPlus.h \
		../../include/ARToolKitPlus/ar.h \
		../../include/ARToolKitPlus/arMulti.h \
		../../include/ARToolKitPlus/extra/Profiler.h \
		../../include/ARToolKitPlus/Camera.h \
		../../include/ARToolKitPlus/config.h \
		../../include/ARToolKitPlus/param.h \
		../../include/ARToolKitPlus/matrix.h \
		../../include/ARToolKitPlus/MemoryManager.h \
		../../include/ARToolKitPlus/CameraFactory.h \
		../../include/ARToolKitPlus/extra/BCH.h \
		../../src/extra/FixedPoint.h \
		../../src/core/arBitFieldPattern.cxx \
		../../src/core/arDetectMarker.cxx \
		../../src/core/arDetectMarker2.cxx \
		../../src/core/arGetCode.cxx \
		../../src/core/arGetMarkerInfo.cxx \
		../../src/core/arGetTransMat.cxx \
		../../src/core/arGetTransMat2.cxx \
		../../src/core/arGetTransMat3.cxx \
		../../src/core/rppGetTransMat.cxx \
		../../src/core/arGetTransMatCont.cxx \
		../../src/core/arLabeling.cxx \
		../../src/core/arMultiActivate.cxx \
		../../src/core/arMultiGetTransMat.cxx \
		../../src/core/rppMultiGetTransMat.cxx \
		../../src/core/arMultiReadConfigFile.cxx \
		../../src/core/arUtil.cxx \
		../../src/core/matrix.cxx \
		../../src/core/mPCA.cxx \
		../../src/core/paramDecomp.cxx \
		../../src/core/paramDistortion.cxx \
		../../src/core/byteSwap.cxx \
		../../src/core/paramFile.cxx \
		../../src/core/vector.cxx \
		../../src/CameraImpl.cxx \
		../../src/CameraAdvImpl.cxx \
		../../src/CameraFactory.cxx \
		../../src/extra/BCH.cxx \
		../../src/TrackerImpl.cxx \
		../../include/ARToolKitPlus/vector.h \
		../../include/ARToolKitPlus/arBitFieldPattern.h \
		../../include/ARToolKitPlus/extra/rpp.h \
		../../src/core/arLabelingImpl.hxx \
		../../include/ARToolKitPlus/CameraImpl.h \
		../../include/ARToolKitPlus/byteSwap.h \
		../../include/ARToolKitPlus/CameraAdvImpl.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/linux/debug/main.o src/main.cpp

####### Install

install_target: all 
	@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)""/usr/local/bin/" || $(MKDIR) "$(INSTALL_ROOT)""/usr/local/bin/"
	-$(INSTALL_FILE) "../../bin/$(QMAKE_TARGET)" "$(INSTALL_ROOT)""/usr/local/bin/$(QMAKE_TARGET)"

uninstall_target: 
	-$(DEL_FILE) "$(INSTALL_ROOT)""/usr/local/bin/$(QMAKE_TARGET)"
	-$(DEL_DIR) "$(INSTALL_ROOT)""/usr/local/bin/"


install: install_target  

uninstall: uninstall_target  

